package app.modules.security.dto.web.role;

import io.swagger.v3.oas.annotations.media.Schema;

/**
 * @author mh.z
 */
@Schema(title = "角色信息")
public class WebRoleDTO {

    @Schema(title = "记录ID")
    private Long id;

    @Schema(title = "角色代码")
    private String roleCode;

    @Schema(title = "角色名称")
    private String roleName;

    @Schema(title = "生效标志")
    private Boolean effectiveFlag;

    @Schema(title = "生效标志的描述")
    private String effectiveFlagDesc;

    @Schema(title = "备注")
    private String remark;

    @Schema(title = "版本号")
    private Integer versionNumber;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getRoleCode() {
        return roleCode;
    }

    public void setRoleCode(String roleCode) {
        this.roleCode = roleCode;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public Boolean getEffectiveFlag() {
        return effectiveFlag;
    }

    public void setEffectiveFlag(Boolean effectiveFlag) {
        this.effectiveFlag = effectiveFlag;
    }

    public String getEffectiveFlagDesc() {
        return effectiveFlagDesc;
    }

    public void setEffectiveFlagDesc(String effectiveFlagDesc) {
        this.effectiveFlagDesc = effectiveFlagDesc;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getVersionNumber() {
        return versionNumber;
    }

    public void setVersionNumber(Integer versionNumber) {
        this.versionNumber = versionNumber;
    }
}
